Release 10.1A: OpenEdge Development:
Progress Dynamics Administration


analyzeCase

This function analyzes a CASE expression from an XML <ActionParam> node and returns the appropriate value to use for the parameter.

A CASE expression begins with a colon (:) and the name of the property to evaluate. Each result begins with a colon followed by a pipe (|) delimited value pair. The function stops processing when it reaches the first value pair that matches the evaluated property in the list of results. So, the following expression evaluates to “Check the session_date_format property. If the value is dmy, go to page1. If the value is mdy, go to page2. If the value is ymd, go to page3. If none of the conditions are met, go to page9.”, as shown:

:session_date_format:dmy|page1:mdy|page2:ymd|page3:default|page9 

Location: install\prc\inuimngrp.p

Parameters:

INPUT pcCaseStatement AS CHARACTER

The CASE expression from the XML <ActionParam> node.

Returns: Character

Notes: None


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095